//
//  DMDoctorDetailController.m
//  CQKuaiYi
//
//  Created by ling on 17/1/9.
//  Copyright © 2017年 Mr.Cannon. All rights reserved.
//

#import "DMDoctorDetailController.h"
#import "DMDoctorDetailView.h"

@interface DMDoctorDetailController ()

@end

@implementation DMDoctorDetailController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.view.backgroundColor = [UIColor whiteColor];
    
    [self setupUI];
    
}



#pragma mark - 搭建界面
- (void)setupUI
{
    DMDoctorDetailView *doctorDetailView = [DMDoctorDetailView doctorDetailView];
    
    //传值
    doctorDetailView.model = _model;
    
    [self.view addSubview:doctorDetailView];
    
    [doctorDetailView mas_makeConstraints:^(MASConstraintMaker *make) {
        
        make.top.left.equalTo(self.view);
        make.height.mas_equalTo(120);
        
    }];
}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];

}



@end
